package org.jsola.hr.dao;

import org.apache.ibatis.annotations.Param;
import org.jsola.hr.entity.SalaryChangesDO;
import org.jsola.orm.mapper.IJsolaMapper;
import org.springframework.stereotype.Repository;


/**
 * @author zhr
 */
@Repository("hrSalaryChangesDAO")
public interface ISalaryChangesDAO extends IJsolaMapper<SalaryChangesDO> {

    /**
     * 根据员工id查询员工薪资信息
     * @param empId 员工id
     * @return 员工调薪记录详情
     */
    SalaryChangesDO getSalaryBasicByEmpId(@Param("empId") String empId, @Param("siteId") String siteId);
}

